package com.teach.controller.certificate;

import java.util.HashMap;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.teach.entity.CertificateType;
import com.teach.service.CertificateTypeService;

public class TestController {
	
	@Autowired
	private CertificateTypeService certificateTypeService;
	
	@RequestMapping("/getType.do")
	public ModelAndView findById(Long typeId) throws Exception{
		ModelAndView mv = new ModelAndView();
		CertificateType type = certificateTypeService.get(typeId);
		
		
		
				
		
		return mv;
		
	}

}
